export default (Vue) => {
  Vue.filter('invitationStatus', (type) => {
    /*eslint-disable*/
    switch (+type) {
      case 1:
        return '邀请前已注册'
        break
      case 2:
        return '接受邀请但未注册'
        break
      case 3:
        return '接受邀请并已注册'
        break
      default:
        return type
    }
  /*eslint-enable*/
  })
}
